using Newtonsoft.Json;
/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "款式信息",TableName = "OrderStyle")]
    public partial class OrderStyle:BaseEntity
    {
        /// <summary>
       ///Count
       /// </summary>
       [Display(Name ="Count")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? CCount { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="ID")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int ID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="DocTreeID")]
       [JsonIgnore]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int DocTreeID { get; set; }

       /// <summary>
       ///Code
       /// </summary>
       [Display(Name ="Code")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Code { get; set; }

       /// <summary>
       ///款式名称
       /// </summary>
       [Display(Name ="款式名称")]
       [MaxLength(400)]
       [Column(TypeName="nvarchar(400)")]
       [Editable(true)]
       public string Name { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ParentCustomID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ParentCustomID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CustomID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? CustomID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CustomOrderNo")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string CustomOrderNo { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CustomStyleCode")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string CustomStyleCode { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CustomStyleName")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string CustomStyleName { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CompanyOrderNo")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string CompanyOrderNo { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Unit")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Unit { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IECoefficient")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IECoefficient { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="StandCount")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? StandCount { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="StateFlag")]
       [MaxLength(10)]
       [Column(TypeName="char(10)")]
       [Editable(true)]
       public string StateFlag { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="GoodsType")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? GoodsType { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="MainMatType")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? MainMatType { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="MainMatElement")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? MainMatElement { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="QuotaType")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? QuotaType { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="TradeWay")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? TradeWay { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="PriceItem")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? PriceItem { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="PriceItemArea")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? PriceItemArea { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ExchangeRate")]
       [MaxLength(40)]
       [Column(TypeName="nvarchar(40)")]
       [Editable(true)]
       public string ExchangeRate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsUrgencyOrder")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsUrgencyOrder { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="BalanceType")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? BalanceType { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="LetterOfCreditNo")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? LetterOfCreditNo { get; set; }

       /// <summary>
       ///单价
       /// </summary>
       [Display(Name ="单价")]
       [DisplayFormat(DataFormatString="20,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? ExportPrice { get; set; }

       /// <summary>
       ///币种
       /// </summary>
       [Display(Name ="币种")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? MonetaryUnit { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="PlanOrderDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? PlanOrderDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="FactOrderDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? FactOrderDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="FactOrderPerson")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? FactOrderPerson { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="TechnicPerson")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? TechnicPerson { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="MeasureUnit")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? MeasureUnit { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="OperationManager")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? OperationManager { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="TechnicalManager")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? TechnicalManager { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ViceManager")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ViceManager { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsNeedQuote")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsNeedQuote { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="QuoteDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? QuoteDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SpilthCutoutPercent")]
       [DisplayFormat(DataFormatString="18,4")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? SpilthCutoutPercent { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CutInPercent")]
       [DisplayFormat(DataFormatString="18,4")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? CutInPercent { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="QuotityStandard")]
       [DisplayFormat(DataFormatString="18,4")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? QuotityStandard { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Brief")]
       [MaxLength(1000)]
       [Column(TypeName="nvarchar(1000)")]
       [Editable(true)]
       public string Brief { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ProducingArea")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string ProducingArea { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="FactoryName")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string FactoryName { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="DealWithDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? DealWithDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="EstimateAmount")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? EstimateAmount { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="EstimateProfit")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? EstimateProfit { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="EstimateGoodsMoney")]
       [DisplayFormat(DataFormatString="18,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? EstimateGoodsMoney { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ModifyContent")]
       [MaxLength(1000)]
       [Column(TypeName="nvarchar(1000)")]
       [Editable(true)]
       public string ModifyContent { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="OrderLevel")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? OrderLevel { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsSinglePrice")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsSinglePrice { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="FactoryID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? FactoryID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IECharge")]
       [DisplayFormat(DataFormatString="16,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? IECharge { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="NameEn")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string NameEn { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SessionType")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string SessionType { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="BusinessStyleDocTreeID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? BusinessStyleDocTreeID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsBreakDown")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsBreakDown { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="BreakDownDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? BreakDownDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="LastModifiedMemo")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string LastModifiedMemo { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="LastModifiedDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? LastModifiedDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="MainMaterial")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? MainMaterial { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="LogisticsProvider")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? LogisticsProvider { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsSingleCostPrice")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsSingleCostPrice { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CostPrice")]
       [DisplayFormat(DataFormatString="20,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? CostPrice { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="DesignTypeID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? DesignTypeID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="MainMaterialRequireDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? MainMaterialRequireDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="LastModifiedUserID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? LastModifiedUserID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Editionhandle")]
       [MaxLength(80)]
       [Column(TypeName="nvarchar(80)")]
       [Editable(true)]
       public string Editionhandle { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ShowPrice")]
       [MaxLength(40)]
       [Column(TypeName="nvarchar(40)")]
       [Editable(true)]
       public string ShowPrice { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsSingleShowPrice")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsSingleShowPrice { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CustomClothBrand")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string CustomClothBrand { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SingleTurn")]
       [MaxLength(400)]
       [Column(TypeName="nvarchar(400)")]
       [Editable(true)]
       public string SingleTurn { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="OrderMemo")]
       [MaxLength(400)]
       [Column(TypeName="nvarchar(400)")]
       [Editable(true)]
       public string OrderMemo { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="StyleNo")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? StyleNo { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CuttingNo")]
       [MaxLength(250)]
       [Column(TypeName="nvarchar(250)")]
       [Editable(true)]
       public string CuttingNo { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ModelNo")]
       [MaxLength(80)]
       [Column(TypeName="nvarchar(80)")]
       [Editable(true)]
       public string ModelNo { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="PriceMarkup")]
       [MaxLength(40)]
       [Column(TypeName="nvarchar(40)")]
       [Editable(true)]
       public string PriceMarkup { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="WarehouseID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? WarehouseID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CustomBuyer")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? CustomBuyer { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="LogoLibrary")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? LogoLibrary { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CountryName")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string CountryName { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CountryNum")]
       [DisplayFormat(DataFormatString="18,4")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? CountryNum { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="OldDocTreeID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? OldDocTreeID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="MethodTypeID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? MethodTypeID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="EstimateCostID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? EstimateCostID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsStockFile")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsStockFile { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="division")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? division { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ExtraDateField1")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ExtraDateField1 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ExtraDateField2")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ExtraDateField2 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ExtraDateField3")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ExtraDateField3 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ExtraDateField4")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ExtraDateField4 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ExtraDateField5")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ExtraDateField5 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ExtraRemarkField1")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ExtraRemarkField1 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ExtraRemarkField2")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ExtraRemarkField2 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ExtraRemarkField3")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ExtraRemarkField3 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ExtraRemarkField4")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ExtraRemarkField4 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ExtraRemarkField5")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ExtraRemarkField5 { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="OrderYear")]
       [MaxLength(4)]
       [Column(TypeName="varchar(4)")]
       [Editable(true)]
       public string OrderYear { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SAPNumber")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string SAPNumber { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="FactoryArea")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? FactoryArea { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="AvgPrice")]
       [DisplayFormat(DataFormatString="20,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? AvgPrice { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="AvgPriceUom")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? AvgPriceUom { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SODate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? SODate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="FirstPODate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? FirstPODate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ChangeFactoryWINumber")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string ChangeFactoryWINumber { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CustomerCode")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string CustomerCode { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SaleScope")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string SaleScope { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SaleGroup")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string SaleGroup { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SalePath")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string SalePath { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CustomerDepart")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string CustomerDepart { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CustomerContact")]
       [MaxLength(36)]
       [Column(TypeName="nvarchar(36)")]
       [Editable(true)]
       public string CustomerContact { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Consignee")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Consignee { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="WashSpecial")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string WashSpecial { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="WashLanguage")]
       [MaxLength(1000)]
       [Column(TypeName="nvarchar(1000)")]
       [Editable(true)]
       public string WashLanguage { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Remarks_Cutting")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Remarks_Cutting { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ModalScale")]
       [MaxLength(1000)]
       [Column(TypeName="nvarchar(1000)")]
       [Editable(true)]
       public string ModalScale { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="HasEarlyCommit")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? HasEarlyCommit { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="EarlyCommitRemark")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string EarlyCommitRemark { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsFinal")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsFinal { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="FinalDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? FinalDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="FirstFabricDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? FirstFabricDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="MakePerson")]
       [MaxLength(36)]
       [Column(TypeName="nvarchar(36)")]
       [Editable(true)]
       public string MakePerson { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsUpdate")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsUpdate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="OrderStyleType")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? OrderStyleType { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SAPCode")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? SAPCode { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="PayCondition")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? PayCondition { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="OrderSalesType")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? OrderSalesType { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="StyleCode")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? StyleCode { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ProductWorkType")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ProductWorkType { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="OrderDate")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? OrderDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SamplePhaseType")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? SamplePhaseType { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SampleStyle")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? SampleStyle { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CheckState")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? CheckState { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SendSignDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? SendSignDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CheckStateReturnDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CheckStateReturnDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="EmailDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? EmailDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="MainVersion")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? MainVersion { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="MinorVersion")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? MinorVersion { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="BigStyleCode")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       [Editable(true)]
       public string BigStyleCode { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsPurchaseAll")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsPurchaseAll { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SessionTypeTwo")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? SessionTypeTwo { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="WashType")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? WashType { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SAPGUID")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? SAPGUID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CheckRemark")]
       [MaxLength(3000)]
       [Column(TypeName="nvarchar(3000)")]
       [Editable(true)]
       public string CheckRemark { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsSending")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsSending { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ischanged")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? ischanged { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="CheckRules")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string CheckRules { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="OsDigitalVersion")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? OsDigitalVersion { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsVMI")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsVMI { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsTransfer")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsTransfer { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="TransferNotes")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string TransferNotes { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="NewFactoryArea")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? NewFactoryArea { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="OriFactoryArea")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? OriFactoryArea { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsOrderShipMatch")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsOrderShipMatch { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="OrderShipMatchPrice")]
       [DisplayFormat(DataFormatString="20,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? OrderShipMatchPrice { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsEstCostFactory")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsEstCostFactory { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="EstCostFactoryPrice")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string EstCostFactoryPrice { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ExportPriceCache")]
       [DisplayFormat(DataFormatString="20,2")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? ExportPriceCache { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ApplyNumber")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string ApplyNumber { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="MailState")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? MailState { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SAPLastModifiedDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? SAPLastModifiedDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="PDMSOToBPMSend")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string PDMSOToBPMSend { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="PDMSOToBPMRet")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string PDMSOToBPMRet { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SOSignResultToDNA")]
       [MaxLength(4000)]
       [Column(TypeName="nvarchar(4000)")]
       [Editable(true)]
       public string SOSignResultToDNA { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SAPLastmodifydate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? SAPLastmodifydate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsSoEntry")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsSoEntry { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SoEntryDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? SoEntryDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="BeforeEntryCheckState")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? BeforeEntryCheckState { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="BeforeEntryMainVersion")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? BeforeEntryMainVersion { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="BeforeEntryMinorVersion")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? BeforeEntryMinorVersion { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="AfterEntryCheckState")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? AfterEntryCheckState { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="AfterEntryMainVersion")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? AfterEntryMainVersion { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="AfterEntryMinorVersion")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? AfterEntryMinorVersion { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsSendingDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? IsSendingDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsSendingAfterSign")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsSendingAfterSign { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsSendingAfterSignDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? IsSendingAfterSignDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsSendingByMultiple")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsSendingByMultiple { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsSendingByMultipleDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? IsSendingByMultipleDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ModifiedTimeForSyn")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ModifiedTimeForSyn { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsClosed")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? IsClosed { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="MailDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? MailDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="StyleExistsApply")]
       [Column(TypeName="bit")]
       [Editable(true)]
       public bool? StyleExistsApply { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ChangeVersionDate")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ChangeVersionDate { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="TransferFactoryNotes")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string TransferFactoryNotes { get; set; }

       
    }
}
